// UniversalQuery.net,Universal Query control for .net WinFrom developers.
// For more infomation,please visit http://www.laiyunqing.cn
// Copyright (C) 2008 laiyunqing@gmail.com. All rights reserved.
// 
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
// 
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
// Lesser General Public License for more details.
// 
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

using System;
using System.Collections.Generic;
using System.Text;

namespace cn.Laiyunqing.WinControls
{
    /// <summary>
    /// 
    /// </summary>
   public class DoQueryEventArgs:EventArgs
    {
        /// <summary>
        /// 
        /// </summary>
       public readonly string QueryString;

       /// <summary>
       /// 
       /// </summary>
       public readonly string OrderByString;

       /// <summary>
       /// 
       /// </summary>
       public readonly string ConditionString; 

       /// <summary>
       /// Initializes a new instance of the <see cref="DoQueryEventArgs"/> class.
       /// </summary>
       public DoQueryEventArgs()
       {

       }
       /// <summary>
       /// Initializes a new instance of the <see cref="DoQueryEventArgs"/> class.
       /// </summary>
       /// <param name="queryString">The query string.</param>
       public DoQueryEventArgs(string queryString)
       {
           this.QueryString = queryString;
       }
       /// <summary>
       /// Initializes a new instance of the <see cref="DoQueryEventArgs"/> class.
       /// </summary>
       /// <param name="queryString">The query string.</param>
       /// <param name="conditionString">The condition string.</param>
       /// <param name="orderByString">The order by string.</param>
       public DoQueryEventArgs(string queryString, string conditionString, string orderByString)
       {
           this.QueryString = queryString;
           this.ConditionString = conditionString;
           this.OrderByString = orderByString;
       }

    }
}
